home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / hypercar / science / yeast10.sit / Yeast Strain Collection / background_8645.xml < prev    next >
Encoding:
Extensible Markup Language  |  1992-03-19  |  18.8 KB  |  532 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>8645</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_8922.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3239.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <true /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <true /> </lockText>
  21.         <rect>
  22.             <left>99</left>
  23.             <top>24</top>
  24.             <right>143</right>
  25.             <bottom>46</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>left</textAlign>
  36.         <font>Chicago</font>
  37.         <textSize>18</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <textHeight>24</textHeight>
  40.         <name>Kastennummer</name>
  41.         <script></script>
  42.     </part>
  43.     <part>
  44.         <id>7</id>
  45.         <type>button</type>
  46.         <visible> <true /> </visible>
  47.         <reserved5> 0 </reserved5>
  48.         <reserved4> 0 </reserved4>
  49.         <reserved3> 0 </reserved3>
  50.         <reserved2> 0 </reserved2>
  51.         <reserved1> 0 </reserved1>
  52.         <enabled> <true /> </enabled>
  53.         <rect>
  54.             <left>228</left>
  55.             <top>15</top>
  56.             <right>264</right>
  57.             <bottom>43</bottom>
  58.         </rect>
  59.         <style>transparent</style>
  60.         <showName> <false /> </showName>
  61.         <highlight> <false /> </highlight>
  62.         <autoHighlight> <false /> </autoHighlight>
  63.         <sharedHighlight> <true /> </sharedHighlight>
  64.         <family>0</family>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>1011</icon>
  67.         <textAlign>center</textAlign>
  68.         <font>Chicago</font>
  69.         <textSize>12</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <name>Home</name>
  72.         <script>on mouseUp
  73. visual effect zoom open
  74. go stack "Home"
  75. end mouseUp
  76.  
  77. </script>
  78.     </part>
  79.     <part>
  80.         <id>8</id>
  81.         <type>button</type>
  82.         <visible> <true /> </visible>
  83.         <reserved5> 0 </reserved5>
  84.         <reserved4> 0 </reserved4>
  85.         <reserved3> 0 </reserved3>
  86.         <reserved2> 0 </reserved2>
  87.         <reserved1> 0 </reserved1>
  88.         <enabled> <true /> </enabled>
  89.         <rect>
  90.             <left>247</left>
  91.             <top>45</top>
  92.             <right>276</right>
  93.             <bottom>67</bottom>
  94.         </rect>
  95.         <style>roundrect</style>
  96.         <showName> <false /> </showName>
  97.         <highlight> <false /> </highlight>
  98.         <autoHighlight> <false /> </autoHighlight>
  99.         <sharedHighlight> <true /> </sharedHighlight>
  100.         <family>0</family>
  101.         <titleWidth>0</titleWidth>
  102.         <icon>8419</icon>
  103.         <textAlign>center</textAlign>
  104.         <font>Chicago</font>
  105.         <textSize>12</textSize>
  106.         <textStyle>plain</textStyle>
  107.         <name>Vorw├ñrts</name>
  108.         <script>on mouseUp
  109. get line 1 of field "Nummer" of card "Kastentemplate"
  110. put field "Kastennummer" into derzeit
  111. if it Γëñ derzeit then
  112. visual effect wipe left
  113. go to card "Liste 1"
  114. else
  115. visual effect wipe left
  116. go to card "Liste" && derzeit + 1
  117. end if
  118. end mouseUp
  119.  
  120. </script>
  121.     </part>
  122.     <part>
  123.         <id>15</id>
  124.         <type>button</type>
  125.         <visible> <true /> </visible>
  126.         <reserved5> 0 </reserved5>
  127.         <reserved4> 0 </reserved4>
  128.         <reserved3> 0 </reserved3>
  129.         <reserved2> 0 </reserved2>
  130.         <reserved1> 0 </reserved1>
  131.         <enabled> <true /> </enabled>
  132.         <rect>
  133.             <left>438</left>
  134.             <top>19</top>
  135.             <right>505</right>
  136.             <bottom>64</bottom>
  137.         </rect>
  138.         <style>transparent</style>
  139.         <showName> <false /> </showName>
  140.         <highlight> <false /> </highlight>
  141.         <autoHighlight> <false /> </autoHighlight>
  142.         <sharedHighlight> <true /> </sharedHighlight>
  143.         <family>0</family>
  144.         <titleWidth>0</titleWidth>
  145.         <icon>0</icon>
  146.         <textAlign>center</textAlign>
  147.         <font>Chicago</font>
  148.         <textSize>12</textSize>
  149.         <textStyle>plain</textStyle>
  150.         <name>Stammsammlung</name>
  151.         <script>on mouseUp
  152. visual effect zoom open
  153. go to card "Stammsammlung"
  154. end mouseUp
  155.  
  156. </script>
  157.     </part>
  158.     <part>
  159.         <id>16</id>
  160.         <type>button</type>
  161.         <visible> <true /> </visible>
  162.         <reserved5> 0 </reserved5>
  163.         <reserved4> 0 </reserved4>
  164.         <reserved3> 0 </reserved3>
  165.         <reserved2> 0 </reserved2>
  166.         <reserved1> 0 </reserved1>
  167.         <enabled> <true /> </enabled>
  168.         <rect>
  169.             <left>378</left>
  170.             <top>18</top>
  171.             <right>427</right>
  172.             <bottom>66</bottom>
  173.         </rect>
  174.         <style>transparent</style>
  175.         <showName> <false /> </showName>
  176.         <highlight> <false /> </highlight>
  177.         <autoHighlight> <false /> </autoHighlight>
  178.         <sharedHighlight> <true /> </sharedHighlight>
  179.         <family>0</family>
  180.         <titleWidth>0</titleWidth>
  181.         <icon>0</icon>
  182.         <textAlign>center</textAlign>
  183.         <font>Chicago</font>
  184.         <textSize>12</textSize>
  185.         <textStyle>plain</textStyle>
  186.         <name>zur Karte</name>
  187.         <script>on mouseUp
  188. get field "Kastennummer"
  189. put it into field "Kastennummer" of card "Kastentemplate"
  190. visual effect zoom open
  191. go to card "Kastentemplate"
  192. end mouseUp
  193. </script>
  194.     </part>
  195.     <part>
  196.         <id>18</id>
  197.         <type>field</type>
  198.         <visible> <true /> </visible>
  199.         <dontWrap> <false /> </dontWrap>
  200.         <dontSearch> <false /> </dontSearch>
  201.         <sharedText> <false /> </sharedText>
  202.         <fixedLineHeight> <true /> </fixedLineHeight>
  203.         <autoTab> <false /> </autoTab>
  204.         <lockText> <false /> </lockText>
  205.         <rect>
  206.             <left>6</left>
  207.             <top>56</top>
  208.             <right>242</right>
  209.             <bottom>76</bottom>
  210.         </rect>
  211.         <style>transparent</style>
  212.         <autoSelect> <false /> </autoSelect>
  213.         <showLines> <false /> </showLines>
  214.         <wideMargins> <false /> </wideMargins>
  215.         <multipleLines> <false /> </multipleLines>
  216.         <reservedFamily> 0 </reservedFamily>
  217.         <titleWidth>0</titleWidth>
  218.         <icon>0</icon>
  219.         <textAlign>left</textAlign>
  220.         <font>Chicago</font>
  221.         <textSize>14</textSize>
  222.         <textStyle>italic</textStyle>
  223.         <textHeight>18</textHeight>
  224.         <name>Organismus</name>
  225.         <script></script>
  226.     </part>
  227.     <part>
  228.         <id>19</id>
  229.         <type>field</type>
  230.         <visible> <true /> </visible>
  231.         <dontWrap> <true /> </dontWrap>
  232.         <dontSearch> <false /> </dontSearch>
  233.         <sharedText> <false /> </sharedText>
  234.         <fixedLineHeight> <true /> </fixedLineHeight>
  235.         <autoTab> <false /> </autoTab>
  236.         <lockText> <true /> </lockText>
  237.         <rect>
  238.             <left>1</left>
  239.             <top>79</top>
  240.             <right>512</right>
  241.             <bottom>342</bottom>
  242.         </rect>
  243.         <style>scrolling</style>
  244.         <autoSelect> <false /> </autoSelect>
  245.         <showLines> <false /> </showLines>
  246.         <wideMargins> <false /> </wideMargins>
  247.         <multipleLines> <false /> </multipleLines>
  248.         <reservedFamily> 0 </reservedFamily>
  249.         <titleWidth>0</titleWidth>
  250.         <icon>0</icon>
  251.         <textAlign>left</textAlign>
  252.         <font>Courier</font>
  253.         <textSize>10</textSize>
  254.         <textStyle>condense</textStyle>
  255.         <textHeight>13</textHeight>
  256.         <name>Liste</name>
  257.         <script></script>
  258.     </part>
  259.     <part>
  260.         <id>29</id>
  261.         <type>button</type>
  262.         <visible> <true /> </visible>
  263.         <reserved5> 0 </reserved5>
  264.         <reserved4> 0 </reserved4>
  265.         <reserved3> 0 </reserved3>
  266.         <reserved2> 0 </reserved2>
  267.         <reserved1> 0 </reserved1>
  268.         <enabled> <true /> </enabled>
  269.         <rect>
  270.             <left>329</left>
  271.             <top>19</top>
  272.             <right>369</right>
  273.             <bottom>55</bottom>
  274.         </rect>
  275.         <style>rectangle</style>
  276.         <showName> <false /> </showName>
  277.         <highlight> <false /> </highlight>
  278.         <autoHighlight> <true /> </autoHighlight>
  279.         <sharedHighlight> <true /> </sharedHighlight>
  280.         <family>0</family>
  281.         <titleWidth>0</titleWidth>
  282.         <icon>17481</icon>
  283.         <textAlign>center</textAlign>
  284.         <font>Chicago</font>
  285.         <textSize>12</textSize>
  286.         <textStyle>plain</textStyle>
  287.         <name>Exportieren</name>
  288.         <script>on mouseUp
  289. global Gesamtheit
  290. if Gesamtheit is true then
  291. ask file "Please name the output file!" with "Collection" && the date
  292. if it is empty then exit mouseUp
  293. put it into Export
  294. open file Export
  295. push card
  296. set cursor to busy
  297. set lockScreen to true
  298. write "Strain Collection" && the name of this stack & return to file Export
  299. repeat with Liste = 1 to the number of cards of this background - 1
  300. go card "Liste" && Liste
  301. write return & "Box No." && field "Kastennummer" & return to file Export
  302. if field "Organismus" is not empty then write "Species" && field "Organismus" & return to file Export
  303. write "Box Info" && field "Kommentar" & return to file Export
  304. repeat with Zeile = 1 to the number of lines of field "Liste"
  305. write line Zeile of field "Liste" & return to file Export
  306. end repeat
  307. end repeat
  308. close file Export
  309. pop card
  310. else
  311. ask file "Please, name the output file!" with "Box No." && field "Kastennummer" & "," && the date
  312. if it is empty then exit mouseUp
  313. put it into Export
  314. open file Export
  315. set cursor to busy
  316. write "Strain Collection" && the name of this stack & return to file Export
  317. write "Box No." && field "Kastennummer" & return to file Export
  318. if field "Organismus" is not empty then write "Species" && field "Organismus" & return to file Export
  319. write "Kasteninfo" && field "Kommentar" & return to file Export
  320. repeat with Zeile = 1 to the number of lines of field "Liste"
  321. write line Zeile of field "Liste" & return to file Export
  322. end repeat
  323. close file Export
  324. end if
  325. end mouseUp</script>
  326.     </part>
  327.     <part>
  328.         <id>30</id>
  329.         <type>button</type>
  330.         <visible> <true /> </visible>
  331.         <reserved5> 0 </reserved5>
  332.         <reserved4> 0 </reserved4>
  333.         <reserved3> 0 </reserved3>
  334.         <reserved2> 0 </reserved2>
  335.         <reserved1> 0 </reserved1>
  336.         <enabled> <true /> </enabled>
  337.         <rect>
  338.             <left>282</left>
  339.             <top>19</top>
  340.             <right>324</right>
  341.             <bottom>55</bottom>
  342.         </rect>
  343.         <style>rectangle</style>
  344.         <showName> <false /> </showName>
  345.         <highlight> <false /> </highlight>
  346.         <autoHighlight> <false /> </autoHighlight>
  347.         <sharedHighlight> <true /> </sharedHighlight>
  348.         <family>0</family>
  349.         <titleWidth>0</titleWidth>
  350.         <icon>1007</icon>
  351.         <textAlign>center</textAlign>
  352.         <font>Chicago</font>
  353.         <textSize>12</textSize>
  354.         <textStyle>plain</textStyle>
  355.         <name>Drucken</name>
  356.         <script>on mouseUp
  357. gobal Gesamtheit
  358. if Gesmtheit is true then
  359. unmark all cards
  360. mark any card of this background
  361. unmark card "Listentemplate"
  362. else
  363. unmark all cards
  364. mark this card
  365. end if
  366. open report printing with template "Strain List"
  367. if the result is "No such report template" then
  368. answer "The template is missing. Please create a template ΓÇ£Strain ListΓÇ¥ for this stack."
  369. else if the result is not empty then
  370. put the result
  371. answer "Can't print strain list!"
  372. else
  373. print marked cards
  374. end if
  375. close printing
  376. unmark all cards
  377. end mouseUp</script>
  378.     </part>
  379.     <part>
  380.         <id>31</id>
  381.         <type>field</type>
  382.         <visible> <false /> </visible>
  383.         <dontWrap> <false /> </dontWrap>
  384.         <dontSearch> <false /> </dontSearch>
  385.         <sharedText> <true /> </sharedText>
  386.         <fixedLineHeight> <false /> </fixedLineHeight>
  387.         <autoTab> <false /> </autoTab>
  388.         <lockText> <false /> </lockText>
  389.         <rect>
  390.             <left>1</left>
  391.             <top>79</top>
  392.             <right>512</right>
  393.             <bottom>342</bottom>
  394.         </rect>
  395.         <style>scrolling</style>
  396.         <autoSelect> <false /> </autoSelect>
  397.         <showLines> <false /> </showLines>
  398.         <wideMargins> <false /> </wideMargins>
  399.         <multipleLines> <false /> </multipleLines>
  400.         <reservedFamily> 0 </reservedFamily>
  401.         <titleWidth>0</titleWidth>
  402.         <icon>0</icon>
  403.         <textAlign>left</textAlign>
  404.         <font>Geneva</font>
  405.         <textSize>12</textSize>
  406.         <textStyle>plain</textStyle>
  407.         <textHeight>16</textHeight>
  408.         <name>Listeninfo</name>
  409.         <script>on mouseUp
  410. hide field "Listeninfo"
  411. set the scroll of field "Listeninfo" to 0
  412. end mouseUp</script>
  413.     </part>
  414.     <part>
  415.         <id>32</id>
  416.         <type>button</type>
  417.         <visible> <true /> </visible>
  418.         <reserved5> 0 </reserved5>
  419.         <reserved4> 0 </reserved4>
  420.         <reserved3> 0 </reserved3>
  421.         <reserved2> 0 </reserved2>
  422.         <reserved1> 0 </reserved1>
  423.         <enabled> <true /> </enabled>
  424.         <rect>
  425.             <left>135</left>
  426.             <top>21</top>
  427.             <right>172</right>
  428.             <bottom>54</bottom>
  429.         </rect>
  430.         <style>transparent</style>
  431.         <showName> <false /> </showName>
  432.         <highlight> <false /> </highlight>
  433.         <autoHighlight> <false /> </autoHighlight>
  434.         <sharedHighlight> <true /> </sharedHighlight>
  435.         <family>0</family>
  436.         <titleWidth>0</titleWidth>
  437.         <icon>5203</icon>
  438.         <textAlign>center</textAlign>
  439.         <font>Chicago</font>
  440.         <textSize>12</textSize>
  441.         <textStyle>plain</textStyle>
  442.         <name>Kasteninfo</name>
  443.         <script>on mouseUp
  444. show field "Kommentar"
  445. end mouseUp</script>
  446.     </part>
  447.     <part>
  448.         <id>33</id>
  449.         <type>button</type>
  450.         <visible> <true /> </visible>
  451.         <reserved5> 0 </reserved5>
  452.         <reserved4> 0 </reserved4>
  453.         <reserved3> 0 </reserved3>
  454.         <reserved2> 0 </reserved2>
  455.         <reserved1> 0 </reserved1>
  456.         <enabled> <true /> </enabled>
  457.         <rect>
  458.             <left>173</left>
  459.             <top>22</top>
  460.             <right>213</right>
  461.             <bottom>61</bottom>
  462.         </rect>
  463.         <style>transparent</style>
  464.         <showName> <false /> </showName>
  465.         <highlight> <false /> </highlight>
  466.         <autoHighlight> <false /> </autoHighlight>
  467.         <sharedHighlight> <true /> </sharedHighlight>
  468.         <family>0</family>
  469.         <titleWidth>0</titleWidth>
  470.         <icon>11714</icon>
  471.         <textAlign>center</textAlign>
  472.         <font>Chicago</font>
  473.         <textSize>12</textSize>
  474.         <textStyle>plain</textStyle>
  475.         <name>Listeninfo</name>
  476.         <script>on mouseUp
  477. show field "Listeninfo"
  478. end mouseUp</script>
  479.     </part>
  480.     <part>
  481.         <id>10</id>
  482.         <type>field</type>
  483.         <visible> <false /> </visible>
  484.         <dontWrap> <false /> </dontWrap>
  485.         <dontSearch> <false /> </dontSearch>
  486.         <sharedText> <false /> </sharedText>
  487.         <fixedLineHeight> <true /> </fixedLineHeight>
  488.         <autoTab> <false /> </autoTab>
  489.         <lockText> <true /> </lockText>
  490.         <rect>
  491.             <left>2</left>
  492.             <top>80</top>
  493.             <right>512</right>
  494.             <bottom>342</bottom>
  495.         </rect>
  496.         <style>rectangle</style>
  497.         <autoSelect> <false /> </autoSelect>
  498.         <showLines> <false /> </showLines>
  499.         <wideMargins> <false /> </wideMargins>
  500.         <multipleLines> <false /> </multipleLines>
  501.         <reservedFamily> 0 </reservedFamily>
  502.         <titleWidth>0</titleWidth>
  503.         <icon>0</icon>
  504.         <textAlign>left</textAlign>
  505.         <font>Geneva</font>
  506.         <textSize>12</textSize>
  507.         <textStyle>plain</textStyle>
  508.         <textHeight>16</textHeight>
  509.         <name>Kommentar</name>
  510.         <script>on mouseUp
  511. hide field "Kommentar"
  512. end mouseUp
  513. </script>
  514.     </part>
  515.     <part>
  516.         <id>9</id>
  517.         <type>button</type>
  518.         <visible> <true /> </visible>
  519.         <reserved5> 0 </reserved5>
  520.         <reserved4> 0 </reserved4>
  521.         <reserved3> 0 </reserved3>
  522.         <reserved2> 0 </reserved2>
  523.         <reserved1> 0 </reserved1>
  524.         <enabled> <true /> </enabled>
  525.         <rect>
  526.             <left>215</left>
  527.             <top>45</top>
  528.             <right>244</right>
  529.             <bottom>67</bottom>
  530.         </rect>
  531.         <style>roundrect</style>
  532.         <showName> <false /> </showName>
  533.         <highlight> <false /> </highlight>
  534.         <autoHighlight> <false /> </autoHighlight>
  535.         <sharedHighlight> <true /> </sharedHighlight>
  536.         <family>0</family>
  537.         <titleWidth>0</titleWidth>
  538.         <icon>17779</icon>
  539.         <textAlign>center</textAlign>
  540.         <font>Chicago</font>
  541.         <textSize>12</textSize>
  542.         <textStyle>plain</textStyle>
  543.         <name>Zur├╝ck</name>
  544.         <script>on mouseUp
  545. get field "Kastennummer"
  546. if it = 1 then
  547. get line 1 of field "Nummer" of card "Kastentemplate"
  548. visual effect wipe right
  549. go card "Liste" && it
  550. else
  551. visual effect wipe right
  552. go card "Liste" && it - 1
  553. end if
  554. end mouseUp
  555. </script>
  556.     </part>
  557.     <part>
  558.         <id>34</id>
  559.         <type>field</type>
  560.         <visible> <true /> </visible>
  561.         <dontWrap> <false /> </dontWrap>
  562.         <dontSearch> <false /> </dontSearch>
  563.         <sharedText> <true /> </sharedText>
  564.         <fixedLineHeight> <true /> </fixedLineHeight>
  565.         <autoTab> <false /> </autoTab>
  566.         <lockText> <false /> </lockText>
  567.         <rect>
  568.             <left>273</left>
  569.             <top>57</top>
  570.             <right>332</right>
  571.             <bottom>82</bottom>
  572.         </rect>
  573.         <style>transparent</style>
  574.         <autoSelect> <false /> </autoSelect>
  575.         <showLines> <false /> </showLines>
  576.         <wideMargins> <false /> </wideMargins>
  577.         <multipleLines> <false /> </multipleLines>
  578.         <reservedFamily> 0 </reservedFamily>
  579.         <titleWidth>0</titleWidth>
  580.         <icon>0</icon>
  581.         <textAlign>center</textAlign>
  582.         <font>Geneva</font>
  583.         <textSize>10</textSize>
  584.         <textStyle>condense</textStyle>
  585.         <textHeight>10</textHeight>
  586.         <name>Drucken</name>
  587.         <script></script>
  588.     </part>
  589.     <part>
  590.         <id>39</id>
  591.         <type>field</type>
  592.         <visible> <true /> </visible>
  593.         <dontWrap> <false /> </dontWrap>
  594.         <dontSearch> <false /> </dontSearch>
  595.         <sharedText> <true /> </sharedText>
  596.         <fixedLineHeight> <true /> </fixedLineHeight>
  597.         <autoTab> <false /> </autoTab>
  598.         <lockText> <false /> </lockText>
  599.         <rect>
  600.             <left>318</left>
  601.             <top>57</top>
  602.             <right>377</right>
  603.             <bottom>82</bottom>
  604.         </rect>
  605.         <style>transparent</style>
  606.         <autoSelect> <false /> </autoSelect>
  607.         <showLines> <false /> </showLines>
  608.         <wideMargins> <false /> </wideMargins>
  609.         <multipleLines> <false /> </multipleLines>
  610.         <reservedFamily> 0 </reservedFamily>
  611.         <titleWidth>0</titleWidth>
  612.         <icon>0</icon>
  613.         <textAlign>center</textAlign>
  614.         <font>Geneva</font>
  615.         <textSize>10</textSize>
  616.         <textStyle>condense</textStyle>
  617.         <textHeight>10</textHeight>
  618.         <name>Exportieren</name>
  619.         <script></script>
  620.     </part>
  621.     <content>
  622.         <layer>background</layer>
  623.         <id>31</id>
  624.         <text>The listed can not be modified directly, because the data have to be in a specific format (on entering data via the "Strain Box" card, every space and return in names and commentaries is altered to tab or to option/space) to allow searching and redistribution for display.
  625. The list of strains can be printed or exported as a "text only" file.
  626. For printing, a suited report is used automatically. Its field sizes have been optimized for the LaserWriter, and DIN A4 paper size, but can easily be modified for other printers and formats. The list of strains of the actual card is printed with its name and commentary as a header. If printing is chosen with the optionKey down, all lists of the collection will be printed.
  627. For export, a name of the file is requested. The name of the strain collection, the box number, the organism, the box info and the data of the individual strains are written to the file. Strains are separated by return, genes by space, the blocks of additional information (plasmid, alternate names, origin, commentary) by tabs (space tab space), which allows an easy alignment with a word processor, Within the blocks of additional information, however, words are separated by option/space, which does not break automatically at the end of a line. It is recommended to replace the option/space with space in using a word processor. A replacement during export would have slowed down the export very much, because the data would have to be read and examined one by one. Mating type "alpha" is represented by ┬¬ (option-h). For a correct display, all genes should be set in italics.</text>
  628.     </content>
  629.     <content>
  630.         <layer>background</layer>
  631.         <id>34</id>
  632.         <text>Print
  633. List</text>
  634.     </content>
  635.     <content>
  636.         <layer>background</layer>
  637.         <id>39</id>
  638.         <text>Export
  639. List</text>
  640.     </content>
  641.     <name>Stammlisten</name>
  642.     <script>on doMenu Was
  643. if was is "Delete Card" or was is "Cut Card" then
  644. answer "Please empty box and reuse!"
  645. else
  646. pass doMenu
  647. end if
  648. end doMenu
  649.  
  650. on closeCard
  651. hide field "Listeninfo"
  652. hide field "Kommentar"
  653. set the scroll of field "Listeninfo" to 0
  654. end closeCard
  655.  
  656. on idle
  657. global Gesamtheit
  658. if the optionKey is down then
  659. put true into Gesamtheit
  660. put "Print" & return & "Collection" into field "Drucken"
  661. put "Export" & return & "Collection" into field "Exportieren"
  662. else
  663. put false into Gesamtheit
  664. put "Print" & return & "List" into field "Drucken"
  665. put "Export" & return & "List" into field "Exportieren"
  666. end if
  667. pass idle
  668. end idle
  669. </script>
  670. </background>
  671.